<?php
namespace app\api\controller\v1;

use app\api\model\Theme as Themes;

class Theme extends Base
{

    public function index($id){

        $theme = new Themes;

        $theme = $theme->getThemeWithProducts($id);

        return $this->success($theme);

    }
}
